home *** CD-ROM | disk | FTP | other *** search
/ Champak 140 / (Vol 140) Sep 19 2011.iso / Games / red_cross_eru.swf / scripts / __Packages / gamebase / need / NeedHungry.as < prev    next >
Text File  |  2011-09-19  |  10KB  |  270 lines

  1. §§push(true);
  2. §§push(false);
  3. §§push(false);
  4. §§push(true);
  5. while(true)
  6. {
  7.    if(┬º┬ºpop())
  8.    {
  9.    }
  10.    if(┬º┬ºpop())
  11.    {
  12.    }
  13.    if(┬º┬ºpop())
  14.    {
  15.       break;
  16.    }
  17.    ┬º┬ºpush(true);
  18.    ┬º┬ºpush(false);
  19. }
  20. if(!e.f)
  21. {
  22.    e.f = new g();
  23. }
  24. §§pop();
  25. if(!e.f.h)
  26. {
  27.    e.f.h = new g();
  28. }
  29. §§pop();
  30. if(!e.f.h[§§constant(4)])
  31. {
  32.    f.h[┬º┬ºconstant(4)] extends f.h[┬º┬ºconstant(46)];
  33.    var _loc2_ = f.h[┬º┬ºconstant(4)] = function(pparent)
  34.    {
  35.       super();
  36.       this[┬º┬ºconstant(5)] = ┬º┬ºconstant(4);
  37.       this[┬º┬ºconstant(6)] = pparent;
  38.       this[┬º┬ºconstant(7)] = ┬º┬ºconstant(8);
  39.       this[┬º┬ºconstant(9)] = "h";
  40.       this[┬º┬ºconstant(10)] = [f[┬º┬ºconstant(11)][┬º┬ºconstant(12)]];
  41.       this[┬º┬ºconstant(13)] = [f[┬º┬ºconstant(14)][┬º┬ºconstant(15)]];
  42.       this[┬º┬ºconstant(16)] = f[┬º┬ºconstant(17)][┬º┬ºconstant(18)];
  43.       this[┬º┬ºconstant(19)] = _global[┬º┬ºconstant(20)];
  44.       this[┬º┬ºconstant(21)] = 2;
  45.       this[┬º┬ºconstant(22)] = 0;
  46.       this[┬º┬ºconstant(23)] = 2500;
  47.       this[┬º┬ºconstant(24)] = 600;
  48.       this[┬º┬ºconstant(25)] = 100;
  49.       this[┬º┬ºconstant(26)] = f[┬º┬ºconstant(27)][┬º┬ºconstant(28)][┬º┬ºconstant(29)](70000,20);
  50.       this[┬º┬ºconstant(30)] = 0;
  51.       this[┬º┬ºconstant(31)] = 0;
  52.       this[┬º┬ºconstant(32)] = 0;
  53.       this[┬º┬ºconstant(33)] = 5000;
  54.       this[┬º┬ºconstant(34)] = {┬º\┬º\┬ºconstant(35)┬º:2,┬º\┬º\┬ºconstant(36)┬º:this,┬º\┬º\┬ºconstant(37)┬º:this[┬º┬ºconstant(6)],┬º\┬º\┬ºconstant(38)┬º:_global[┬º┬ºconstant(39)],┬º\┬º\┬ºconstant(40)┬º:f[┬º┬ºconstant(14)][┬º┬ºconstant(15)],┬º\┬º\┬ºconstant(16)┬º:f[┬º┬ºconstant(17)][┬º┬ºconstant(18)],┬º\┬º\┬ºconstant(41)┬º:this[┬º┬ºconstant(5)]};
  55.       this[┬º┬ºconstant(42)]();
  56.       f[┬º┬ºconstant(27)][┬º┬ºconstant(44)][┬º┬ºconstant(45)](this,this[┬º┬ºconstant(43)],1000);
  57.    }[┬º┬ºconstant(47)];
  58.    _loc2_[┬º┬ºconstant(42)] = function()
  59.    {
  60.       var _loc4_ = new ┬º\┬º\┬ºconstant(48)┬º();
  61.       var _loc5_ = this[┬º┬ºconstant(6)][┬º┬ºconstant(49)][┬º┬ºconstant(50)];
  62.       var _loc2_ = 0;
  63.       while(_loc2_ < _loc5_)
  64.       {
  65.          var _loc6_ = this[┬º┬ºconstant(6)][┬º┬ºconstant(49)][_loc2_];
  66.          var _loc3_ = _loc6_[┬º┬ºconstant(51)][┬º┬ºconstant(52)](this[┬º┬ºconstant(7)]);
  67.          if(_loc3_ < _loc6_[┬º┬ºconstant(53)])
  68.          {
  69.             _loc4_[┬º┬ºconstant(54)](_loc6_);
  70.          }
  71.          _loc6_[┬º┬ºconstant(55)] = _loc3_;
  72.          _loc6_[┬º┬ºconstant(56)][┬º┬ºconstant(57)]();
  73.          _loc2_ = _loc2_ + 1;
  74.       }
  75.       if(_loc4_[┬º┬ºconstant(50)] > 0)
  76.       {
  77.          _loc6_ = f[┬º┬ºconstant(27)][┬º┬ºconstant(58)][┬º┬ºconstant(59)](_loc4_);
  78.          _loc6_[┬º┬ºconstant(51)][┬º┬ºconstant(60)](1,this[┬º┬ºconstant(21)]);
  79.          f[┬º┬ºconstant(27)][┬º┬ºconstant(44)][┬º┬ºconstant(45)](this,this[┬º┬ºconstant(42)],20);
  80.       }
  81.    };
  82.    _loc2_[┬º┬ºconstant(61)] = function()
  83.    {
  84.       if(this[┬º┬ºconstant(62)])
  85.       {
  86.          return undefined;
  87.       }
  88.       if(this[┬º┬ºconstant(63)])
  89.       {
  90.          this[┬º┬ºconstant(64)] = false;
  91.          this[┬º┬ºconstant(65)] += 40;
  92.          if(this[┬º┬ºconstant(65)] < this[┬º┬ºconstant(25)])
  93.          {
  94.             return undefined;
  95.          }
  96.          this[┬º┬ºconstant(65)] = 0;
  97.          this[┬º┬ºconstant(66)]();
  98.          f[┬º┬ºconstant(27)][┬º┬ºconstant(44)][┬º┬ºconstant(45)](this,this[┬º┬ºconstant(67)],30);
  99.       }
  100.       else if(this[┬º┬ºconstant(68)])
  101.       {
  102.          if(!this[┬º┬ºconstant(69)](this[┬º┬ºconstant(68)]))
  103.          {
  104.             this[┬º┬ºconstant(6)][┬º┬ºconstant(70)](this[┬º┬ºconstant(68)]);
  105.             return undefined;
  106.          }
  107.          this[┬º┬ºconstant(64)] = false;
  108.          this[┬º┬ºconstant(30)] += 40;
  109.          if(this[┬º┬ºconstant(30)] < this[┬º┬ºconstant(24)])
  110.          {
  111.             return undefined;
  112.          }
  113.          this[┬º┬ºconstant(30)] = 0;
  114.          if(this[┬º┬ºconstant(66)]())
  115.          {
  116.             var _loc3_ = this[┬º┬ºconstant(68)];
  117.             f[┬º┬ºconstant(11)][┬º┬ºconstant(71)][┬º┬ºconstant(72)](_loc3_,this[┬º┬ºconstant(16)]);
  118.          }
  119.          f[┬º┬ºconstant(27)][┬º┬ºconstant(44)][┬º┬ºconstant(45)](this,this[┬º┬ºconstant(67)],30);
  120.       }
  121.       else
  122.       {
  123.          if(this[┬º┬ºconstant(64)])
  124.          {
  125.             if(_global[┬º┬ºconstant(73)][┬º┬ºconstant(74)] == 0)
  126.             {
  127.                return undefined;
  128.             }
  129.             if(this[┬º┬ºconstant(75)])
  130.             {
  131.                return undefined;
  132.             }
  133.             this[┬º┬ºconstant(76)] += 40;
  134.             this[┬º┬ºconstant(31)] += 40;
  135.             if(this[┬º┬ºconstant(31)] < this[┬º┬ºconstant(23)])
  136.             {
  137.                return undefined;
  138.             }
  139.             this[┬º┬ºconstant(31)] = 0;
  140.             var _loc4_ = f[┬º┬ºconstant(27)][┬º┬ºconstant(58)][┬º┬ºconstant(59)](this[┬º┬ºconstant(6)][┬º┬ºconstant(49)]);
  141.             _loc4_[┬º┬ºconstant(51)][┬º┬ºconstant(77)](┬º┬ºconstant(8));
  142.             if(this[┬º┬ºconstant(76)] > this[┬º┬ºconstant(26)])
  143.             {
  144.                this[┬º┬ºconstant(75)] = true;
  145.                this[┬º┬ºconstant(6)][┬º┬ºconstant(79)](┬º┬ºconstant(78));
  146.                if(_global[┬º┬ºconstant(80)] == undefined || _global[┬º┬ºconstant(80)][┬º┬ºconstant(7)] == undefined)
  147.                {
  148.                   f[┬º┬ºconstant(83)][┬º┬ºconstant(84)][┬º┬ºconstant(85)](_global[┬º┬ºconstant(82)],false,┬º┬ºconstant(81));
  149.                }
  150.                _global[┬º┬ºconstant(80)][┬º┬ºconstant(86)]();
  151.             }
  152.             return undefined;
  153.          }
  154.          this[┬º┬ºconstant(32)] += 40;
  155.          if(this[┬º┬ºconstant(32)] < this[┬º┬ºconstant(33)])
  156.          {
  157.             return undefined;
  158.          }
  159.          this[┬º┬ºconstant(31)] += 40;
  160.          if(this[┬º┬ºconstant(31)] < this[┬º┬ºconstant(23)])
  161.          {
  162.             return undefined;
  163.          }
  164.          this[┬º┬ºconstant(31)] = 0;
  165.          _loc4_ = f[┬º┬ºconstant(27)][┬º┬ºconstant(58)][┬º┬ºconstant(59)](this[┬º┬ºconstant(6)][┬º┬ºconstant(49)]);
  166.          _loc4_[┬º┬ºconstant(51)][┬º┬ºconstant(60)](1,this[┬º┬ºconstant(21)]);
  167.          this[┬º┬ºconstant(87)]();
  168.       }
  169.    };
  170.    _loc2_[┬º┬ºconstant(66)] = function()
  171.    {
  172.       var _loc4_ = this[┬º┬ºconstant(88)]();
  173.       var _loc3_ = f[┬º┬ºconstant(27)][┬º┬ºconstant(58)][┬º┬ºconstant(59)](_loc4_);
  174.       if(_loc3_)
  175.       {
  176.          _global[┬º┬ºconstant(89)][┬º┬ºconstant(90)][┬º┬ºconstant(8)]++;
  177.          _global[┬º┬ºconstant(89)][┬º┬ºconstant(91)]();
  178.          _loc3_[┬º┬ºconstant(51)][┬º┬ºconstant(60)](1,this[┬º┬ºconstant(22)]);
  179.          if(f[┬º┬ºconstant(27)][┬º┬ºconstant(28)][┬º┬ºconstant(95)](this[┬º┬ºconstant(6)][┬º┬ºconstant(94)],this[┬º┬ºconstant(6)][┬º┬ºconstant(93)],_global[┬º┬ºconstant(92)][┬º┬ºconstant(94)],_global[┬º┬ºconstant(92)][┬º┬ºconstant(93)]) < 500)
  180.          {
  181.             _global[┬º┬ºconstant(97)][┬º┬ºconstant(98)](┬º┬ºconstant(96),100,0,1,1);
  182.          }
  183.          return true;
  184.       }
  185.       return false;
  186.    };
  187.    _loc2_[┬º┬ºconstant(99)] = function()
  188.    {
  189.       if(this[┬º┬ºconstant(63)])
  190.       {
  191.          return undefined;
  192.       }
  193.       this[┬º┬ºconstant(65)] = 0;
  194.       this[┬º┬ºconstant(63)] = true;
  195.    };
  196.    _loc2_[┬º┬ºconstant(88)] = function()
  197.    {
  198.       var _loc5_ = new ┬º\┬º\┬ºconstant(48)┬º();
  199.       var _loc6_ = this[┬º┬ºconstant(6)][┬º┬ºconstant(49)][┬º┬ºconstant(50)];
  200.       var _loc2_ = 0;
  201.       while(_loc2_ < _loc6_)
  202.       {
  203.          var _loc3_ = this[┬º┬ºconstant(6)][┬º┬ºconstant(49)][_loc2_];
  204.          var _loc4_ = _loc3_[┬º┬ºconstant(51)][┬º┬ºconstant(52)](this[┬º┬ºconstant(7)]);
  205.          if(_loc4_ > 0)
  206.          {
  207.             _loc5_[┬º┬ºconstant(54)](_loc3_);
  208.          }
  209.          _loc2_ = _loc2_ + 1;
  210.       }
  211.       return _loc5_;
  212.    };
  213.    _loc2_[┬º┬ºconstant(67)] = function()
  214.    {
  215.       this[┬º┬ºconstant(100)] = true;
  216.       var _loc6_ = this[┬º┬ºconstant(6)][┬º┬ºconstant(49)][┬º┬ºconstant(50)];
  217.       var _loc4_ = 0;
  218.       while(_loc4_ < _loc6_)
  219.       {
  220.          var _loc3_ = this[┬º┬ºconstant(6)][┬º┬ºconstant(49)][_loc4_];
  221.          var _loc5_ = _loc3_[┬º┬ºconstant(51)][┬º┬ºconstant(52)](this[┬º┬ºconstant(7)]);
  222.          _loc3_[┬º┬ºconstant(55)] = _loc5_;
  223.          _loc3_[┬º┬ºconstant(56)][┬º┬ºconstant(101)]();
  224.          _loc3_[┬º┬ºconstant(56)][┬º┬ºconstant(57)]();
  225.          if(_loc5_ > 0)
  226.          {
  227.             this[┬º┬ºconstant(100)] = false;
  228.          }
  229.          _loc4_ = _loc4_ + 1;
  230.       }
  231.       this[┬º┬ºconstant(32)] = 0;
  232.       if(this[┬º┬ºconstant(100)])
  233.       {
  234.          this[┬º┬ºconstant(62)] = true;
  235.          if(this[┬º┬ºconstant(63)])
  236.          {
  237.             if(_global[┬º┬ºconstant(73)][┬º┬ºconstant(74)] > 0)
  238.             {
  239.                _global[┬º┬ºconstant(80)][┬º┬ºconstant(103)](┬º┬ºconstant(102));
  240.             }
  241.          }
  242.          f[┬º┬ºconstant(27)][┬º┬ºconstant(44)][┬º┬ºconstant(45)](this[┬º┬ºconstant(6)],this[┬º┬ºconstant(6)][┬º┬ºconstant(104)],300,this);
  243.       }
  244.    };
  245.    _loc2_[┬º┬ºconstant(87)] = function()
  246.    {
  247.       this[┬º┬ºconstant(64)] = true;
  248.       var _loc5_ = this[┬º┬ºconstant(6)][┬º┬ºconstant(49)][┬º┬ºconstant(50)];
  249.       var _loc3_ = 0;
  250.       while(_loc3_ < _loc5_)
  251.       {
  252.          var _loc2_ = this[┬º┬ºconstant(6)][┬º┬ºconstant(49)][_loc3_];
  253.          var _loc4_ = _loc2_[┬º┬ºconstant(51)][┬º┬ºconstant(52)](this[┬º┬ºconstant(7)]);
  254.          _loc2_[┬º┬ºconstant(55)] = _loc4_;
  255.          _loc2_[┬º┬ºconstant(56)][┬º┬ºconstant(57)]();
  256.          if(_loc4_ < _loc2_[┬º┬ºconstant(53)])
  257.          {
  258.             this[┬º┬ºconstant(64)] = false;
  259.          }
  260.          _loc3_ = _loc3_ + 1;
  261.       }
  262.       if(this[┬º┬ºconstant(64)])
  263.       {
  264.          this[┬º┬ºconstant(76)] = 0;
  265.       }
  266.    };
  267.    ┬º┬ºpush(┬º┬ºconstant(105)(f.h[┬º┬ºconstant(4)][┬º┬ºconstant(47)],null,1));
  268. }
  269. §§pop();
  270.